import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';
import { CoreModule } from './core/core.module';
import { SharedModule } from './shared/shared.module';
import { Routes, RouterModule } from '@angular/router';
import { AccountModule } from './account/account.module';
import { ProjectModule } from './project/project.module';
import { TaskModule } from './task/task.module';
import { DraggableDirective } from './directive/draggable.directive';
import { DroppableDirective } from './directive/droppable.directive';

@NgModule({
  declarations: [
    AppComponent,
  ],
  imports: [
    BrowserModule,
    CoreModule,
    SharedModule,
    AccountModule,
    ProjectModule,
    TaskModule,
  ],
  providers: [{
    provide: 'BASE_CONFIG', useValue: {
      url: "http://localhost:4200",
      jsonUrl: "http://localhost:3000/cards",
    }
  }],
  bootstrap: [AppComponent],
})
export class AppModule { }
